package com.gengzp.rpc.model.nacos.req;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName SearchNacosServiceInstanceListV1Req
 * @Description 查询服务下的实例列表请求实体 v1
 * @Author gengzp
 * @Date 2025/8/21 11:00
 */
public class SearchNacosServiceInstanceListV1Req implements Serializable {

    @Serial
    private static final long serialVersionUID = 6424267113060472301L;

    /**
     * 服务名
     */
    private String serviceName;

    /**
     * 分组名
     */
    private String groupName;

    /**
     * 命名空间id
     */
    private String namespaceId;

    /**
     * 集群名称
     */
    private String clusterName;

    /**
     * 是否只返回健康实例
     */
    private Boolean healthyOnly;

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getNamespaceId() {
        return namespaceId;
    }

    public void setNamespaceId(String namespaceId) {
        this.namespaceId = namespaceId;
    }

    public String getClusterName() {
        return clusterName;
    }

    public void setClusterName(String clusterName) {
        this.clusterName = clusterName;
    }

    public Boolean getHealthyOnly() {
        return healthyOnly;
    }

    public void setHealthyOnly(Boolean healthyOnly) {
        this.healthyOnly = healthyOnly;
    }

}
